# vim:set ft=make:

RAM_PHYS_BASE			:= 0x0
PREPROCESS_PARTS		+= jz4780 ci20 cascade_irq
PREPROCESS_PARTS-$(CONFIG_MP)	+= pic_gic cps
PREPROCESS_PARTS		+= $(PREPROCESS_PARTS-y)
OBJECTS_LIBUART			+= uart_16550.o
CXXFLAGS_uart-libuart		+= $(call LIBUART_UART, 16550) \
                                   -DUART_16550_INIT_FCR=0x10

INTERFACES_KERNEL		+= irq_mgr_flex irq_ingenic \
				   mips_bsp_irqs cascade_irq \
				   tcu_jz4780

mips_bsp_irqs_IMPL	:= mips_bsp_irqs-ci20
clock_IMPL		+= clock-generic
reset_IMPL              += reset-mips-ci20
timer_tick_IMPL         += timer_tick-single-vector timer_tick-mips-intc
timer_IMPL		:= timer timer-jz4780
